﻿using System.ComponentModel;

namespace SharePointUtilitiesForDevelopers
{
    /// <summary>
    /// A domain class that represents a SharePoint CAML query.
    /// </summary>
    [ReadOnly(true)]
    public class SharePointQuery
    {
        /// <summary>
        /// Gets or sets the order by.
        /// </summary>
        /// <value>The order by.</value>
        public SharePointQueryOrderByClause OrderBy { get; set; }

        /// <summary>
        /// Gets or sets the where.
        /// </summary>
        /// <value>The where.</value>
        public SharePointQueryWhereClause Where { get; set; }
    }
}
